package com.ejuornal.util;



public class Constants {
    public static final String USERSESSION = "user_session";
    public static final String USERSSSIONID = "user_sessionid";
    public static final String USERSESSIONEMAIL = "user_sessionemail";
    public static final String USERSESSIONROLEID = "user_sesssion_role_id";
    public static final String USER_COOKIE = "user_cookie";
    public static final String USER_ERR_MSG = "user.err.msg";
    public static final String ADMINSESSION = "admin_session";
    public static final String ADMIMID = "admin_id";
    public static final String ADMINSESSIONROLEID = "admin_session_role_id";
    public static final String PREPAGE = "front.prepage";
    public static final String FINDPWDSESSION = "fron.find_pwd";
    //角色
    public static final int USERBLACKLIST_ROLE = 1;
    public static final int USERCOMMON_ROLE = 2;
    public static final int VIP_ROLE = 3;
    public static final int EDITOR_CHIEF_ROLE = 4;
    public static final int ARTICAL_EDITOR_ROLE = 5;
    public static final int EDITOR_COMMIT_ROLE = 6;
    public static final int SUPERADMIN_ROLE = 7;
    public static final int USERADMIN_ROLE = 8;
    public static final int PERADMIN_ROLE = 9;
    //文章状态
    public static final int ARTICAL_UNCHECK = 1;
    public static final int ARTICAL_SENDBACK = 2;
    public static final int ARTICAL_PUBLISH = 3;
    public static final int ARTICAL_1CHECK = 4;
    public static final int ARTICAL_2CHECK = 5;
    public static final int ARTICAL_3CHECK = 6;
    public static final int ARTICAL_4CHECK = 7;
    //期刊状态
    
    
    //线程池
    public static final int COREPOOLSIZE = 10; 
    public static final int MAXIMUMPOOLSIZE = 20; //最大连接数
    public static final int BLOCKSIZE = 30;
}
